<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>留言列表</title>
    </head>
    <body>
        <table>
            <tr>
                <td>tittle</td>
                <td>content</td>
                <td>opration</td>
            </tr>
            @foreach ($msg as $v)
            <tr>
                <td>{{$v->tittle}}</td>
                <td>{{$v->content}}</td>
                <td>
                    <a href="/delete/{{$v->id}}">delete</a>
                    |
                    <a href="/edit/{{$v->id}}">edit</a>
                </td>
            </tr>
            @endforeach
            <?php}?>
        </table>
    </body>
</html>
